Skip to content

docs: address PR review feedback — consistency, grammar, and architecture alignment#2

Merged
MathiasVDA merged 2 commits into002-train-path-calculationfrom
copilot/sub-pr-1
Mar 20, 2026
Merged

docs: address PR review feedback — consistency, grammar, and architecture alignment#2
MathiasVDA merged 2 commits into002-train-path-calculationfrom
copilot/sub-pr-1

Conversation

Copy link
Contributor

Copilot AI commented Mar 20, 2026

Several inconsistencies across docs, specs, and CI introduced in the 002-train-path-calculation PR needed correction before implementation begins.

Changes

Consistency fixes

  • cutoff_distance default was 50m in spec/lib-api docs but 500.0 in the Default impl — unified to 500m across spec.md (4 occurrences), lib-api.md doc comment
  • README.md stated "four output files" but DEBUG.md documents seven — updated to "debug output files"
  • contracts/cli.md was missing --crs which exists in the actual CLI and is used in all example commands across test-data/README.md and DEBUG.md — added as an optional Input Option

Architecture alignment

  • tasks.md Phase 4 still described the superseded bidirectional greedy approach (forward/backward construction + agreement) — replaced with HMM/Viterbi-aligned tasks (candidate_netelements_for_positions, emission_probability, transition_probability, viterbi_decode_path, insert_bridge_segments)
  • CONTRIBUTING.md referenced construction.rs/selection.rs — updated to probability.rs/viterbi.rs to reflect current module structure
  • algorithm.md stated the algorithm produces "a single unbroken subsequence for all GNSS input" — clarified that carry-forward applies within a window, and FR-027 (break detection + reinitialization) is handled by higher-level control logic across windows

Minor fixes

  • Grammar: "your a map" → "your map" (README.md)
  • Spelling: "longitudal" → "longitudinal" (test-data/README.md, 2 occurrences)
  • coverage.yml: Codecov upload now skipped for fork PRs where CODECOV_TOKEN is unavailable, preventing spurious CI failures

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

… architecture docs

Co-authored-by: MathiasVDA <15101339+MathiasVDA@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Matdata-eu/tp-lib/sessions/02a3fc18-73f4-4e65-93fe-e859f0d191c0
Copilot AI changed the title [WIP] Add documentation for feature 002 train path calculation docs: address PR review feedback — consistency, grammar, and architecture alignment Mar 20, 2026
Copilot AI requested a review from MathiasVDA March 20, 2026 23:27
@MathiasVDA MathiasVDA marked this pull request as ready for review March 20, 2026 23:27
@MathiasVDA MathiasVDA merged commit 6bbbff5 into 002-train-path-calculation Mar 20, 2026
@MathiasVDA MathiasVDA deleted the copilot/sub-pr-1 branch March 20, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants